home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 May (DVD) / Macworld Resource DVD May 2003.toast / Data / Software / Bonus / Database / mysql-max-3.23.55.sit / mysql-max-3.23.55-apple-darwi.1 / mysql-test / t / rpl000018.test < prev    next >
Encoding:
Text File  |  2003-01-21  |  540 b   |  25 lines  |  [TEXT/ttxt]

  1. #
  2. # Running test with abort-slave-event-count=1
  3. # This will force slave to reconnect after every event
  4. #
  5.  
  6. connect (master,localhost,root,,test,0,mysql-master.sock);
  7. connect (slave,localhost,root,,test,0,mysql-slave.sock);
  8. connection slave;
  9. reset slave;
  10. slave start;
  11. connection master;
  12. show master logs;
  13. drop table if exists t1;
  14. create table t1(n int);
  15. insert into t1 values (3351);
  16. save_master_pos;
  17. connection slave;
  18. sync_with_master;
  19. select * from t1;
  20. connection master;
  21. drop table t1;
  22. save_master_pos;
  23. connection slave;
  24. sync_with_master;
  25.